UpperCase and UCase (str) are equivalent functions. UpperCase is preferred in Crystal syntax, whereas UCase is preferred in Basic syntax.
UpperCase returns the text string or text value in the data field in upper case (capital letters).
A good use of this function is when a field contains both uppercase and lowercase letters and you want to convert all letters to uppercase for consistency.
The following examples are applicable to both Basic and Crystal syntax, although UCase is preferred in the latter:
UpperCase({customer.FIRST NAME})
Returns "RONALD", where {customer.FIRST NAME} contains "Ronald".
UpperCase("BrEaD " + "AND " + "bUtTeR" )
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |